package com.lightboat.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lightboat.system.domain.CrmLogisticsRecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 物流记录Mapper接口
 * 
 * @author lightboat
 * @date 2025-08-22
 */
@Mapper
@Repository
public interface CrmLogisticsRecordMapper extends BaseMapper<CrmLogisticsRecord>{

    /**
     * 查询物流记录列表
     * 
     * @param crmLogisticsRecord 物流记录
     * @return 物流记录集合
     */
    public List<CrmLogisticsRecord> selectCrmLogisticsRecordList(CrmLogisticsRecord crmLogisticsRecord);

    /**
     * 删除物流记录
     * 
     * @param id 物流记录主键
     * @return 结果
     */
    public int deleteCrmLogisticsRecordById(Long id);

    /**
     * 批量删除物流记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmLogisticsRecordByIds(Long[] ids);
}
